package hc.bre.policy

import hc.bre.ComponentConfig
import hc.bre.cmn.ListOption
import hc.bre.cmn.IDetailList
import hc.bre.cmn.RuleDefinition
import hc.bre.cmn.RuleScriptBuilder
import hc.bre.data.DataDefinition

@groovy.transform.CompileStatic
@groovy.transform.ToString(includeNames=true,includePackage=false)
class CategoryDefinition extends DataDefinition<CategoryOption>{
	public static final ComponentConfig _config ;
	static {
		_config = new ComponentConfig();
		_config.rtype = 'data:policy:category';
		_config.rname = '政策原因分类';
		_config.builderClass = CategoryBuilder;
		_config.homepage = '/rule/policy/categoryhome.htm' ;
		_config.description = '''
''';
	};

	CategoryDefinition()
	{
		this.rname = _config.rname;
	}
//
//	@Override
//	public <T extends RuleScriptBuilder> Class<T> scriptBuilderClass() {
//		return CategoryBuilder.class;
//	}
}
